package com.sp.model.dto;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 管理员数据传输实体
 *
 * @author tong
 */
@Data
@NoArgsConstructor
public class EmployeeDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    /**
     * 用户名 账号
     */
    private String username;

    /**
     * 密码 长度16位
     */
    private String password;

    /**
     * 用于修改密码
     */
    private String newPassword;

    private String name;

    private String sex;

    private Integer age;

    private String phone;

    /**
     * 权限角色id
     */
    private List<Integer> roleIds;

    private String role;

    private LocalDateTime startTime;

    private LocalDateTime endTime;

}
